package com.marvels.common.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 装载application配置文件中的自定义属性
 * 
 * @author wangliang
 *
 */
@Configuration
@ConfigurationProperties(prefix = "marvels.properties")
public class ConfigProperties {
	private String salt;
	private String signSwitch;

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getSignSwitch() {
		return signSwitch;
	}

	public void setSignSwitch(String signSwitch) {
		this.signSwitch = signSwitch;
	}

}
